Skip to content

docs: system prune --volumes removes anonymous volumes only - #25818

Merged
dvdksn merged 1 commit into
docker:mainfrom
santhiprakash:system-prune-anonymous-volumes
Aug 13, 2026
Merged

docs: system prune --volumes removes anonymous volumes only#25818
dvdksn merged 1 commit into
docker:mainfrom
santhiprakash:system-prune-anonymous-volumes

Conversation

@santhiprakash

Copy link
Copy Markdown
Contributor

Summary

docker system prune --volumes only removes unused anonymous volumes (CLI help: "Prune anonymous volumes"). The pruning guide still said it removed all unused volumes, and the example warning said "all volumes" / "all build cache".

Aligned the prose and the confirmation example with Docker 29.1.3 (docker system prune --help and the live warning, answered n). Named unused volumes still need docker volume prune --all, same as #25812 did for docker volume prune.

@netlify /engine/manage-resources/pruning/

Generated by Grok.

- Problem: the pruning guide said docker system prune --volumes removes all unused volumes, and the example warning still said "all volumes" / "all build cache".
- Fix: match Docker 29.1.3 CLI help and confirmation text: --volumes prunes unused anonymous volumes; named volumes need docker volume prune --all.
- Verification: compared live `docker system prune --help` and the `docker system prune --volumes` warning (answered n) on 29.1.3.
@santhiprakash
santhiprakash requested a review from dvdksn as a code owner August 13, 2026 12:55
@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a127c37
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a7dbeb60104c50008321c3f
😎 Deploy Preview https://deploy-preview-25818--docsdocker.netlify.app/engine/manage-resources/pruning/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/engine Issue affects Docker engine/daemon label Aug 13, 2026

@dvdksn dvdksn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dvdksn
dvdksn merged commit d90eef0 into docker:main Aug 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants